SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}Weiden{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCity = 'Weiden' OR prZip = 'Weiden' OR prStreet LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}Weiden{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCountry = 'Weiden') AND (prLocation LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}i.{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCity = 'i.' OR prZip = 'i.' OR prStreet LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}i.{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCountry = 'i.') AND (prLocation LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}d.{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCity = 'd.' OR prZip = 'd.' OR prStreet LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}d.{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCountry = 'd.') AND (prLocation LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}OPf.{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCity = 'OPf.' OR prZip = 'OPf.' OR prStreet LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}OPf.{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCountry = 'OPf.') AND (prLocation LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}Germany{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}Germany{0e0e4922436919bc49163c775230b30b146ef169695ffcc6c3c45c71f93866b5}' OR prCountry = 'Germany')